.popup-wrapper {
  --popup-color: transparent;

  color: #ffffff;
  line-height: 2rem;

  background: rgba(20, 25, 27, 0.9);
  border: 1px solid #00a18f;

  min-width: 10rem;
  max-width: 23rem;
  padding: 1rem;

  // 一些 antd 全局样式
  :global {
    .slick-slide {
      text-align: center;
    }

    .ant-carousel .slick-prev,
    .ant-carousel .slick-prev:hover,
    .ant-carousel .slick-prev:focus {
      font-size: inherit;
      left: 10px;
      z-index: 2;
      color: white;
    }

    .ant-carousel .slick-next,
    .ant-carousel .slick-next:hover,
    .ant-carousel .slick-next:focus {
      font-size: inherit;
      right: 10px;
      z-index: 2;
      color: white;
    }

    .slick-disabled {
      display: none !important;
    }
  }
}

.popup-header {
  position: absolute;
  left: -1px;
  right: -1px;
  height: 0.75rem;
  top: -0.75rem;
  background: url(./imgs/top.png) no-repeat center;
  background-size: 100% 100%;
}

.popup-close {
  position: absolute;
  right: 0;
  top: -2rem;

  width: 1.6rem;
  height: 1.6rem;

  text-align: center;
  line-height: 1.6rem;
  background: #00a18f;
  cursor: pointer;

  &:hover {
    box-shadow: 0 0 8px white;
  }
}

.popup-name {
  font-weight: 700;
  overflow-x: hidden;
}

// 弹框字段
.popup-props-wrapper {
  font-weight: 400;
  font-size: 0.75rem;

  max-height: 15rem;
  overflow-x: hidden;
  overflow-y: auto;

  p {
    margin: 0;
  }

  label {
    color: #20ead6;
  }

  span {
    //
  }
}
